home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / qw12.exe / INSTALL.BAT next >
DOS Batch File  |  1990-10-08  |  4KB  |  75 lines

  1. ECHO OFF
  2. cls
  3. if %1!==! goto error
  4. ECHO      *****************************************************************
  5. ECHO      *      If you have not read the file READ.ME, please do so.     *
  6. ECHO      *****************************************************************
  7. ECHO        This install batch file will install the Quarterdeck White
  8. ECHO        Papers v1.20 and QTEST to %1:\QWHITE.  The White Papers are
  9. ECHO        shipped in a compressed format to allow them to fit on a
  10. ECHO        single diskette.  The install will create the readable
  11. ECHO        ASCII files. If you wish to install these files to another
  12. ECHO        subdirectory press Ctrl-Break now and read the file READ.ME on
  13. ECHO        the install disk for more information.
  14. ECHO        -------------------------------------------------------------
  15. ECHO        Press any key to continue or Ctrl-Break to stop.
  16. pause >NUL
  17. if NOT EXIST \QWHITE12.EXE goto ERROR
  18. echo        Creating %1:\QWHITE
  19. md %1:\QWHITE >NUL
  20. echo . >%1:\qwhite\QW-PIF.DVP
  21. if exist %1:\qwhite\QW-PIF.DVP goto INSTALL >NUL
  22. goto ERROR
  23. :INSTALL
  24. erase %1:\qwhite\QW-PIF.DVP >NUL
  25. ECHO        Copying QTEST.COM
  26. copy QTEST.COM %1:\QWHITE >NUL
  27. if NOT EXIST %1:\QWHITE\QTEST.COM ECHO        QTEST.COM could not be copied
  28. ECHO        Copying QTEST.TEC
  29. copy QTEST.TEC %1:\QWHITE >NUL
  30. if NOT EXIST %1:\QWHITE\QTEST.TEC ECHO        QTEST.TEC could not be copied
  31. ECHO        Copying READ.ME
  32. copy READ.ME %1:\QWHITE >NUL
  33. if NOT EXIST %1:\QWHITE\READ.ME echo          READ.ME could not be copied
  34. ECHO        Copy complete
  35. ECHO        Extracting The Quarterdeck White Papers
  36. QWHITE12 -o %1:\qwhite
  37. if errorlevel 1 goto EXTERR
  38. ECHO        -------------------------------------------------------------
  39. ECHO        The Quarterdeck White Papers and QTEST have been installed to
  40. ECHO        %1:\QWHITE.  If you are using DESQview refer to 'OTHER:Adding
  41. ECHO        Your Own Program' on pages 60-61 of your version 2 manual for
  42. ECHO        help on adding the Quarterdeck White Papers to your DESQview
  43. ECHO        Open Window Menu.  IF YOU ARE UPGRADING FROM A PREVIOUS VERSION
  44. ECHO        OF THE WHITE PAPERS you will need to use the new .DVP file
  45. ECHO        located in %1:\QWHITE.  Use DELETE A PROGRAM to remove the
  46. ECHO        current entry from the DESQview Open Window menu and use
  47. ECHO        ADD A PROGRAM to add it again.
  48. ECHO      *****************************************************************
  49. ECHO      * Do not run QWHITE.COM from a command line since it relies on  *
  50. ECHO      * the information in the .DVP file and will not run without it. *
  51. ECHO      *****************************************************************
  52. ECHO       You should also read the files QTEST.TEC and QWHITE.TEC for
  53. ECHO       information on running QTEST and QWHITE. The Quarterdeck White
  54. ECHO       Papers program, QWHITE.COM, requires DESQview version 2.23 to
  55. ECHO       run.  If you do not have DESQview version 2.23 or later, you may
  56. ECHO       use your word processor, editor, or file viewer to read the
  57. ECHO       technical notes. Read the files QWHITE.TEC and READ.ME for more
  58. ECHO       information.
  59. goto END
  60. :EXTERR
  61. ECHO        -------------------------------------------------------------
  62. ECHO        The file QWHITE12.EXE could not be run.
  63. :ERROR
  64. ECHO        -------------------------------------------------------------
  65. ECHO        The INSTALL failed.  Switch to the drive where you have placed
  66. ECHO        the install diskette and type INSTALL X where X is the drive
  67. ECHO        letter where INSTALL should place its files. For example: If
  68. ECHO        the diskette is in the A drive and you wish to install to the C
  69. ECHO        drive, switch to the A drive by typing A: and pressing ENTER.
  70. ECHO        Then type INSTALL C and press ENTER to start the install. NOTE:
  71. ECHO        Do NOT type a COLON after the drive letter for INSTALL. You may
  72. ECHO        also want to read the file READ.ME for additional information.
  73. :END
  74. ECHO        -------------------------------------------------------------
  75.